package com.scrcu.cloud.wechat.home.endpoint.staff.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName(value ="assess")  //考核内容记录表
public class Assess implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 82136354123879L;

    @TableId(value = "assess_id",type = IdType.AUTO)
    private int assessId;

    @TableField(value = "member_id")
    private int memberId;
    @TableField(value = "group_id")
    private int groupId;
    @TableField(value="group_name")
    private String groupName;  //考核组名

    @TableField(value = "topic_id")
    private int topicId;
    @TableField(value="topic_desc")
    private String topicDesc; //题目内容
    @TableField(value="topic_date")
    private String topicDate; //生效时间

    @TableField(value = "answer_text")
    private String answerText; //描述答案
    @TableField(value = "answer_type")
    private int answerType; //描述答案   没有答题为0 good是1 ok是2 bad是3

    @TableField(value = "done_time")  //评价完成时间
    private LocalDateTime doneTime;

    @TableField(value = "staff_id")//评价人
    private String staffId;
    @TableField(value = "staff_name")
    private String staffName;
    @TableField(value = "staff_oanum")
    private String staffOanum;

}
